﻿using System;
using YNTK.Common.Util;
using YNTK.Dependency;

namespace YNTK.System.Entitys.Dto.Resources
{
    /// <summary>
    /// 字典树结构数据传输模型
    /// </summary>
    [SuppressSniffer]
    public class DictionaryDataTreeDto : TreeModel
    {
        /// <summary>
        /// 字典分类
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 字典分类文本
        /// </summary>
        public string typeText { get; set; }

        /// <summary>
        /// 字典项
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        public long? sortCode { get; set; }

        /// <summary>
        /// 启用/禁用,1.启用
        /// </summary>
        public int? enabledMark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? creatorTime { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        public string creatorUserId { get; set; }

        /// <summary>
        /// 创建用户姓名
        /// </summary>
        public string creatorUserName { get; set; }
    }
}
